<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<base href="<%=basePath%>">
<meta charset="utf-8">
<title>Insert title here</title>
<link rel="stylesheet" href="<%=basePath%>/css/login.css">
<script rel="stylesheet" src="<%=basePath%>/js/login.js"></script>
</head>
<body>
	<article class="login_article">
		<aside class="img_box"></aside>
		<aside class="login_article_image">
			<img class="qqq" src="<%=basePath%>/css/erfeng.jpg" title="logo">
		</aside>
		<section>
			<form action="user.servlet?param=login" method="post">
				用户名：<input type="text" name="userName"><br>
				 密&nbsp;&nbsp;&nbsp;码：<input type="password" name="password"><br>			
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<button type="submit">登录</button>
				<button type="submit" formaction="user.servlet?param=register">注册</button>
				   <div id="btn_cookieShow"></div>
                <div hidden class="cookieSelect">
                    <input type="checkbox" name="isCookie" value="yes">一周之内不需要登录
                </div>
			</form>
			<span style="color: red">${requestScope.msg}</span>
		</section>
		<div></div>
	</article>
</body>
</html>